#ifndef DOWNLOADERMAINWINDOW_H
#define DOWNLOADERMAINWINDOW_H

#include <QMainWindow>
#include <QMenuBar>
#include <QToolBar>
#include <QAction>
#include <QSize>
#include <QFrame>
#include <QCloseEvent>
#include "centerform.h"
#include "configurationform.h"
#include "databasemanager.h"

class DownloaderMainWindow : public QMainWindow
{
    Q_OBJECT
public:
    explicit DownloaderMainWindow(QWidget *parent = 0);
    ~DownloaderMainWindow();
    QMenuBar *menuBar;
    CenterForm* centerForm;
    void createMenus();
    void showEvent(QShowEvent *);
    void test();
    void closeEvent(QCloseEvent *);
signals:
    void tableLayoutChanged(int);
public slots:
    void start();
    void deleteDownload();
};

#endif // DOWNLOADERMAINWINDOW_H
